package com.scujcc.require;

import java.util.ArrayList;
import java.util.List;



public class Require {
	public String id;
	public String title;
	public String message;
	public String pubdate;
	public int price;
	public User puuser;
	List<User> reciveuser=new ArrayList<>();
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getPubdate() {
		return pubdate;
	}
	public void setPubdate(String pubdate) {
		this.pubdate = pubdate;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public User getPuuser() {
		return puuser;
	}
	public void setPuuser(User puuser) {
		this.puuser = puuser;
	}
	public List<User> getReciveuser() {
		return reciveuser;
	}
	
	public void setReciveuser(List<User> reciveuser) {
		this.reciveuser = reciveuser;
	}
	
	public void addRequire(String id,String title,String message,String pubdate,int i) {
		this.id=id;
		this.title=title;
		this.message=message;
		this.pubdate=pubdate;
		this.price=i;
		
		
	}
	public Require searchRequire(String id) {
		return this;
	}
	
	
}
